package com.xms.schema.service.optionset;

import com.xms.core.exception.XmsException;
import com.xms.datacore.service.ICreaterService;
import com.xms.schema.entity.OptionSet;
import com.xms.schema.entity.OptionSetDetail;

import java.sql.SQLException;
import java.util.List;

/**
 * <p>
 * IOptionsetCreaterService
 * </p>
 *
 * @author migo
 * @since 2021/9/3
 */
public interface IOptionSetCreaterService extends ICreaterService<OptionSet> {
    boolean create(OptionSet entity, List<OptionSetDetail> items) throws XmsException, SQLException;
}
